package com.ebelter.btlibrary.btble.impl.buc.callback;

import com.ebelter.btlibrary.btble.impl.buc.model.CholResult;
import com.ebelter.btlibrary.btble.impl.buc.model.GluResult;
import com.ebelter.btlibrary.btble.impl.buc.model.UaResult;

/**
 * 血糖/尿酸/胆固醇分析结果回调
 * Created by Sergio Pan on 2017/12/29.
 */

public interface BucResultCallback {

    /**
     * 接收血糖测量结果
     * @param result
     */
    void onReceiveGluResult(GluResult result);

    /**
     * 接收尿酸测量结果
     * @param result
     */
    void onReceiveUaResult(UaResult result);

    /**
     * 接收血胆固醇测量结果
     * @param result
     */
    void onReceiveCholResult(CholResult result);

    /***
     * 错误回调
     * @param error
     */
    void onError(BucError error);
}
